package com.toutoushidao.ssm.entity;


import java.util.Date;

/**
 * 消息
 * @author laodun
 *
 */
public class Message {
    private Long id;
    private Long sender;
    private String content;
    private Date dateCreated;
    private boolean isDeleted;



    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSender() {
        return sender;
    }

    public void setSender(Long sender) {
        this.sender = sender;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", sender=" + sender +
                ", content='" + content + '\'' +
                ", dateCreated=" + dateCreated +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
